package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import cn.sumpu.app.guoguojie.util.Common;

public class CmsContent implements Serializable {

	public CmsContent(){ }
	
	private static final long serialVersionUID = 2858874647654421044L;
	
	private String identifier;
	private String channel;
	private String title;
	private String description;
	private String picture;
	private String picture2;
	private String hyperlink;
	private Boolean enabled;
	private Integer sort;
	private Integer status;
	private Date orderTime;
	private Date gmtCreated;
	private Date gmtModified;
	//内容来源：哪个会员
	private String nickname;
	//内容来源：从那个表里推过来的
	private String tblName;
	//内容来源：属于那个表里的哪条内容
	private String tblIdentifier;
	//对应doing表的system_tag的字段
	private String systemTag;
	//标签的封面
	private String tagCover;
	//标签的信息
	private String tagName;
	//图片信息
	private List<DoingPicture> doingPictureList = new ArrayList<DoingPicture>();
	//商品信息
	private List<DoingProduct> doingProductList = new ArrayList<DoingProduct>();
	//会员信息
	private List<Member> memberList = new ArrayList<Member>();
	//微博信息
	private List<Doing> doingList = new ArrayList<Doing>();
	
	//该频道下一共有多少条内容
	private Integer count;
	//所属画报的分类
	private String category;
	
	//以下跟(discuss)有关
	//关联的画报列表
	 private List<DoingPictorialTopic> pictorialList;
	 //回复数
	 private Integer replyAmout;
	 //访问数
     private Integer visitAmout;
     //是否可以回复
     private Boolean isReply;
     //是否图片
     private Boolean isReplyPic;
     //关联主题
     private String theme;
	
	 //以上跟(discuss)有关
	 
     
     private DoingProductTime fanliProduct; 
     
	 
	public String getTheme() {
        return theme;
    }
    public void setTheme(String theme) {
        this.theme = theme;
    }
    public Integer getReplyAmout() {
        return replyAmout;
    }
    public void setReplyAmout(Integer replyAmout) {
        this.replyAmout = replyAmout;
    }
    public Integer getVisitAmout() {
        return visitAmout;
    }
    public void setVisitAmout(Integer visitAmout) {
        this.visitAmout = visitAmout;
    }
    public Boolean getIsReply() {
        return isReply;
    }
    public void setIsReply(Boolean isReply) {
        this.isReply = isReply;
    }
    public Boolean getIsReplyPic() {
        return isReplyPic;
    }
    public void setIsReplyPic(Boolean isReplyPic) {
        this.isReplyPic = isReplyPic;
    }
    public List<DoingPictorialTopic> getPictorialList() {
        return pictorialList;
    }
    public void setPictorialList(List<DoingPictorialTopic> pictorialList) {
        this.pictorialList = pictorialList;
    }
    public String getPicture2() {
		return picture2;
	}
	public void setPicture2(String picture2) {
		this.picture2 = picture2;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public List<DoingProduct> getDoingProductList() {
		return doingProductList;
	}
	public void setDoingProductList(List<DoingProduct> doingProductList) {
		this.doingProductList = doingProductList;
	}
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public String getTagCover() {
		return tagCover;
	}
	public void setTagCover(String tagCover) {
		this.tagCover = tagCover;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getSystemTag() {
		return systemTag;
	}
	public void setSystemTag(String systemTag) {
		this.systemTag = systemTag;
	}
	public String getTblName() {
		return tblName;
	}
	public void setTblName(String tblName) {
		this.tblName = tblName;
	}
	public String getTblIdentifier() {
		return tblIdentifier;
	}
	public void setTblIdentifier(String tblIdentifier) {
		this.tblIdentifier = tblIdentifier;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getHyperlink() {
		return hyperlink;
	}
	public void setHyperlink(String hyperlink) {
		this.hyperlink = hyperlink;
	}
	public String getIdentifier() {
		return identifier;
	}
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Boolean getEnabled() {
		return enabled;
	}
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}
	public Date getGmtCreated() {
		return gmtCreated;
	}
	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getEncode(){
		return Common.URLEncode(this.nickname);
	}
	public String getEncodeTitle(){
		return Common.URLEncode(this.title);
	}
	public String getEncodeSystemTag(){
		return Common.URLEncode(this.systemTag);
	}
	public List<Member> getMemberList() {
		return memberList;
	}
	public void setMemberList(List<Member> memberList) {
		this.memberList = memberList;
	}
	public List<Doing> getDoingList() {
		return doingList;
	}
	public void setDoingList(List<Doing> doingList) {
		this.doingList = doingList;
	}
	public List<DoingPicture> getDoingPictureList() {
		return doingPictureList;
	}
	public void setDoingPictureList(List<DoingPicture> doingPictureList) {
		this.doingPictureList = doingPictureList;
	}
    public DoingProductTime getFanliProduct() {
        return fanliProduct;
    }
    public void setFanliProduct(DoingProductTime fanliProduct) {
        this.fanliProduct = fanliProduct;
    }
	
	

}
